package com.hjw.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>Project:Academic - Type
 *
 * @author IvanWei玮 -- maste
 * @version 1.0
 * @DataTime 2025/1/20 16:53
 * @since 1.8
 */
@Setter
@Getter
public class Type implements Serializable {
    private int id;
    private String name;
    private int pid;
    private int prio;
    private int isdel;

    public Type() {
        this.id = 0;
        this.name = "";
        this.pid = 0;
        this.prio = 0;
        this.isdel = 0;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", prio=" + prio +
                ", isdel=" + isdel +
                '}';
    }
}
